Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution org.nuxeo.ecm.collections.listing--layouts

This contribution is part of XML component org.nuxeo.ecm.collections.listing inside nuxeo-platform-collections-jsf-9.10.jar /OSGI-INF/collection-layout-listing-contrib.xml

Extension Point

Extension point layouts of component WebLayoutManager.

Contributed Items

  • <layout name="collections_listing" type="listingTable">
          <properties mode="any">
            <property name="showListingHeader">true</property>
            <property name="showRowEvenOddClass">true</property>
            <property name="display">table</property>
          </properties>
          <columns>
            <column>
              <properties mode="any">
                <property name="isListingSelectionBoxWithCurrentDocument">
                  true
                </property>
                <property name="useFirstWidgetLabelAsColumnHeader">false</property>
                <property name="columnStyleClass">iconColumn</property>
              </properties>
              <properties mode="csv">
                <property name="isHidden">true</property>
              </properties>
              <properties mode="pdf">
                <property name="isHidden">true</property>
              </properties>
              <widget>listing_ajax_selection_box_with_current_document</widget>
            </column>
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">false</property>
                <property name="columnStyleClass">iconColumn</property>
              </properties>
              <widget>listing_icon_type</widget>
            </column>
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
                <property name="sortPropertyName">dc:title</property>
              </properties>
              <widget>listing_title_link</widget>
            </column>
            <column>
              <properties mode="any">
                <property name="columnStyleClass">iconColumn</property>
              </properties>
              <properties mode="csv">
                <property name="isHidden">true</property>
              </properties>
              <properties mode="pdf">
                <property name="isHidden">true</property>
              </properties>
              <widget>listing_lock_icon</widget>
            </column>
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
                <property name="sortPropertyName">dc:modified</property>
              </properties>
              <widget>listing_modification_date</widget>
            </column>
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
                <property name="sortPropertyName">dc:lastContributor</property>
              </properties>
              <widget>listing_last_contributor</widget>
            </column>
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
              </properties>
              <widget>listing_manage_collection</widget>
            </column>
          </columns>
        </layout>

XML Source

<extension point="layouts" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <layout name="collections_listing" type="listingTable">
      <properties mode="any">
        <property name="showListingHeader">true</property>
        <property name="showRowEvenOddClass">true</property>
        <property name="display">table</property>
      </properties>
      <columns>
        <column>
          <properties mode="any">
            <property name="isListingSelectionBoxWithCurrentDocument">
              true
            </property>
            <property name="useFirstWidgetLabelAsColumnHeader">false</property>
            <property name="columnStyleClass">iconColumn</property>
          </properties>
          <properties mode="csv">
            <property name="isHidden">true</property>
          </properties>
          <properties mode="pdf">
            <property name="isHidden">true</property>
          </properties>
          <widget>listing_ajax_selection_box_with_current_document</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">false</property>
            <property name="columnStyleClass">iconColumn</property>
          </properties>
          <widget>listing_icon_type</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
            <property name="sortPropertyName">dc:title</property>
          </properties>
          <widget>listing_title_link</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="columnStyleClass">iconColumn</property>
          </properties>
          <properties mode="csv">
            <property name="isHidden">true</property>
          </properties>
          <properties mode="pdf">
            <property name="isHidden">true</property>
          </properties>
          <widget>listing_lock_icon</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
            <property name="sortPropertyName">dc:modified</property>
          </properties>
          <widget>listing_modification_date</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
            <property name="sortPropertyName">dc:lastContributor</property>
          </properties>
          <widget>listing_last_contributor</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
          </properties>
          <widget>listing_manage_collection</widget>
        </column>
      </columns>
    </layout>

  </extension>